/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-19 18:26:47
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-19 22:11:02
 */
import 'package:flutter/material.dart';
import 'package:flutter_data_center/utills/color_utils.dart';

import 'alert_chart.dart';
import 'count_group.dart';

class CountCard extends StatelessWidget {
  const CountCard({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Container(
        height: 114,
        width: double.infinity,
        decoration: BoxDecoration(
          color: gColor("#FFEBF6"),
          borderRadius: BorderRadius.circular(10),
        ),
        child: Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            SizedBox(width: 10),
            Container(
              width: 74,
              height: 74,
              child: AlertChart(),
            ),
            CountGroup(),
          ],
        ),
      );
}
